deleteAll

abstract fun deleteAll(): Int

Deletes all the cookies from the cookie store and returns the number of deleted cookies.

Important: this method makes the cookie changes in memory. To keep these changes for persistent cookies after application restart you must invoke the persist method before application exit.

Throws

when the profile is deleted or its engine is closed